package com.zzl.bonds.ticket.feign;

import com.zzl.bonds.ticket.entity.feign.SMSEmailParams;
import com.zzl.general.common.feign.config.FeignClientsConfig;
import com.zzl.general.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 文件中心的feign接口
 *  hyt
 */
@FeignClient(value = "psocket", configuration = FeignClientsConfig.class)
public interface MsgFeign {
    /**
     * 发送外部联系人 到信息中心
     *
     * @return 响应数据
     */
    @PostMapping(value = "/socket/wsTemplate/sendSMSEmail")
    Result sendBookRelation(@RequestBody SMSEmailParams params);


}
